package  
{
	public class Route 
	{
		private var waypoints : Array;
		
		public function getWaypoints() : Array
		{
			return waypoints;
		}
		
		public function Route(... rest)
		{
			waypoints = new Array(rest.length);
			for (var i : uint = 0; i < rest.length; i++)
			{
				waypoints[i] = rest[i];
			}
		}		
	}

}